# 数据库配置
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'flask_library'
USERNAME = 'root'
PASSWORD = '111111'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8mb4'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI

# session secretkey
SECRET_KEY = 'library'

# 短信服务
# 注意：不要更改
REGION = "cn-hangzhou"
PRODUCT_NAME = "Dysmsapi"
DOMAIN = "dysmsapi.aliyuncs.com"

# 注意：更改为自己的参数，参数从上面的教程找
sign_name = "周奕涵的图书管理系统"  # 短信签名
template_code = "SMS_460665311"  # 模板CODE
ACCESS_KEY_ID = "LTAI5tFFoHJJZWKSvFgZMqk1"  # ACCESS_KEY_ID
ACCESS_KEY_SECRET = "uvRwXNAaK9B2v0Lx0Htgo40gnsoyuz"  # ACCESS_KEY_ID